//
//  BHApplyUserInfoEditeBottomView.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/6/18.
//

import UIKit

class BHApplyUserInfoEditeBottomView: UIView {

    @IBOutlet weak var cancelBtn: UIButton!
    
    @IBOutlet weak var saveBtn: UIButton!
    
    
    static func loadFromXib() -> BHApplyUserInfoEditeBottomView {
        let viewArray = Bundle.main.loadNibNamed("BHApplyUserInfoEditeBottomView", owner: nil, options: nil)
        let view: BHApplyUserInfoEditeBottomView = viewArray![0] as! BHApplyUserInfoEditeBottomView
        return view
    }
    
    
    override func awakeFromNib() {
        self.cancelBtn.addLayerCorner(25, 0, .color_FC352B)
        self.saveBtn.addLayerCorner(25, 0, .color_FC352B)
    }
    
    static var height: CGFloat {
        get {
            return 84+UIScreen.safeBottomHeight
        }
    }
}
